package com.ark.cloud.java.persistence.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;

/**
 * 侦察指令
 *
 */
@Data
@TableName("reconnoiter_cmd")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class ReconnoiterCmd {

    @TableField("id")
    private Long id;

    @TableField("timestamp")
    private String timestamp;      /// 指令发送时间//

    @TableField("cmd_id")
    private String cmdId;                  /// 指令ID///

    @TableField("type")
    private  short  type;                   /// 0 撤销 1 新建//
    @TableField("cmd_unit_id")
    private String  cmdUnitId;              /// 指挥平台///

    @TableField("reconnoiter_id")
    private String  ReconnoiterId;          /// 侦察平台ID ///
    @TableField("begin_time")
    private String  beginTime;              /// 开始侦察时间///
    @TableField("end_time")
    private String  endTime;                 /// 结束侦察时间///
    @TableField("turn_on_when_begin")
    private boolean  turnOnWhenBegin;         /// 打开侦察用传感器的时间///
    @TableField("count")
    private short count;                   /// 构成侦察区域的顶点的个数///

    @TableField(exist = false)
    ArrayList<Vec3D> areaList;                ///// ECF 坐标列表///

}
